//
// kxf   12/12/23 3:52 pm
//

import List from '@ohos.util.List'
import DataSourceBean from '../view/config/DataSourceBean'

export default class PageBean {
    pageType: string
    pageConfig: PageConfigBean
    pageParams: Array<PageParamsBean>
    datasource: Array<DataSourceBean>
    sections: Array<SectionBean>
    footSection: SectionBean
}

export class PageParamsBean {
    paraName: string
    required: string
    paraType: string
    pageTransName: string
    defaultValue: string
    static: string
}


export class PageConfigBean {
    pageCode: string
    pageName: string
    pageTitle: string
    submitRule: string
    submitApiUrl: string
    sysModeConfig: string
}


export class SectionBean {
    id: string
    components: Array<ComponentBean>
    displayStatusConfig: Array<any>
    sectionType: string
    section: SectionC
}

class SectionC {
    sectionConfig: SectionConfig
}

class SectionConfig {
    sectionLayoutType: string
}

export class ComponentBean {
    id: string
    type: string
    componentName: string
    componentValue: string
    datasource: Array<DataSourceBean>
    componentConfig: any
}



